﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VirtualTournaments.Business.Tournaments
{
	public class MatchFactory
	{
		private static MatchFactory INSTANCE = new MatchFactory();

		protected MatchFactory() { }

		public virtual Match CreateMatch(Tournament tournament, Team local, Team visitor)
		{
			return new Match(tournament, local, visitor);
		}

		public static MatchFactory GetInstance()
		{
			return INSTANCE;
		}

	}
}
